package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;


public class BorrowMoneyen extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 用户借款ID */
    private Long borrowId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long customerId;

    /** 借款金额 */
    @Excel(name = "借款金额")
    private String borrowQian;
    private String loginName;

    /** 状态 0未通过 1已通过 */
    @Excel(name = "状态 0未通过 1已通过")
    private String state;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 0男 1女 */
    @Excel(name = "0男 1女")
    private String sex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String identity;

    /** 身份证正面 */
    @Excel(name = "身份证正面")
    private String identityZheng;

    /** 身份证背面 */
    @Excel(name = "身份证背面")
    private String identityBei;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String address;

    /** 借款用途 */
    @Excel(name = "借款用途")
    private String purpose;

    /** 借款期限（月份单位） */
    @Excel(name = "借款期限", readConverterExp = "月=份单位")
    private String lifeLoan;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getIdentityZheng() {
        return identityZheng;
    }

    public void setIdentityZheng(String identityZheng) {
        this.identityZheng = identityZheng;
    }

    public String getIdentityBei() {
        return identityBei;
    }

    public void setIdentityBei(String identityBei) {
        this.identityBei = identityBei;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getLifeLoan() {
        return lifeLoan;
    }

    public void setLifeLoan(String lifeLoan) {
        this.lifeLoan = lifeLoan;
    }

    public void setBorrowId(Long borrowId)
    {
        this.borrowId = borrowId;
    }

    public Long getBorrowId()
    {
        return borrowId;
    }
    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }
    public void setBorrowQian(String borrowQian)
    {
        this.borrowQian = borrowQian;
    }

    public String getBorrowQian()
    {
        return borrowQian;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setAddTime(Date addTime)
    {
        this.addTime = addTime;
    }

    public Date getAddTime()
    {
        return addTime;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("borrowId", getBorrowId())
                .append("customerId", getCustomerId())
                .append("borrowQian", getBorrowQian())
                .append("state", getState())
                .append("addTime", getAddTime())
                .append("name", getName())
                .append("sex", getSex())
                .append("identity", getIdentity())
                .append("identityZheng", getIdentityZheng())
                .append("identityBei", getIdentityBei())
                .append("address", getAddress())
                .append("purpose", getPurpose())
                .append("lifeLoan", getLifeLoan())
                .toString();
    }

}
